package com.zp.self.module.level_5_设计模式.创建型模式.Ⅴ_建造者模式.Bulider注解;

import org.junit.Test;

/**
 * @author ：by Zeng Peng
 * @date ：Created 2022/6/26 20:24
 * @description ：业务代码，需要一辆车
 */
public class Client {

    @Test
    public  void testBuildBike(){
        Bike.BikeBuilder builder = Bike.builder();
        builder.seat("Mobike 橡皮坐垫")
                .frame("Mobike 铝合金框架");
        System.out.println(builder);
    }
}
